<?php

namespace App\Http\Controllers;

use App\Common\Constant\Params;
use App\Events\OrderFinished;
use App\Events\Tested;
use App\Models\Master;
use App\Models\MasterFund;
use App\Models\MasterStatistic;
use App\Models\MasterTradeLog;
use App\Models\MasterWallet;
use App\Models\Order;
use App\Services\ICacheService;
use App\Services\IMasterService;
use App\Services\IStorageService;
use App\Services\IWalletService;
use App\Services\IWeixinService;
use Carbon\Carbon;
use CLogFileHandler;
use Crypt;
use DB;
use Illuminate\Http\Request;
use App\Services\ICookieService;
use App\Services\ISystemService;
use App\Services\ISessionService;
use App\Services\IMobileService;
use Illuminate\Notifications\DatabaseNotification;
use JsApiPay;
use Notification;
use Storage;
use File;
use Validator;
use WxPayApi;
use WxPayConfig;
use WxPayLog;
use WxPayUnifiedOrder;

/**
 * 测试控制器
 */
class TestController extends BaseController
{
    
    public function index(Request $request,ISessionService $sessionService,IMobileService $mobileService,ISystemService $systemService,
                          ICookieService $cookieService,ICacheService $cacheService,IWeixinService $weixinService,IStorageService $storageService,
                          IWalletService $walletService,IMasterService $masterService)
    {
        event(new Tested(16,getip()));
        return 'this is test';
    }
    
}
